package com.xuhai.blog19.admin.service;

import com.xuhai.blog19.admin.entity.ArticleEntity;
import com.xuhai.blog19.admin.entity.TimelineEntity;

import java.util.List;

/**
 * @Author PangJunjie
 * @Date 2023/2/11/011
 */
public interface TimelineService {
    List<TimelineEntity> getTimeline();

    List<ArticleEntity> getArticleByYear(String year);

}
